<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title>网站信息</title>
<link rel="stylesheet" href="HNUST/../../user/css/pintuer.css">
<link rel="stylesheet" href="HNUST/../../user/css/admin.css">
<script src="HNUST/../../user/js/jquery.js"></script>
<script src="HNUST/../../user/js/pintuer.js"></script>
<link rel="stylesheet" type="text/css"
	href="HNUST/../../dist/css/wangEditor.min.css">
<script src="HNUST/../../dist/js/lib/jquery-1.10.2.min.js"></script>
<script src="HNUST/../../dist/js/wangEditor.min.js"></script>
<style type="text/css">
#editor-trigger {
	height: 400px;
	/*max-height: 500px;*/
}

.container {
	width: 100%;
	margin: 0 auto;
	position: relative;
}
</style>
</head>
<body>
	<div class="panel admin-panel">
		<div class="panel-head">
			<strong><span class="icon-pencil-square-o"></span> 网站信息</strong>
		</div>
		<div class="body-content">
			<form method="post" class="form-x" action="scenicxg" name="frmUpload"
				enctype="multipart/form-data" id="jvForm">

				<input type="hidden" class="input" name="scenic_id"
					value="${scenic.scenic_id}" />


				<div class="form-group">
					<div class="label">
						<label>景点标题：</label>
					</div>
					<div class="field">
						<input type="text" class="input" name="scenic_name"
							value="${scenic.scenic_name}" />
						<div class="tips"></div>
					</div>
				</div>

				<div class="form-group">
					<div class="label">
						<label>价格：</label>
					</div>
					<div class="field">
				<input type="text" class="input w50" name="scenic_jg" value="${scenic.scenic_jg}" data-validate="required:请输入价格" />
						
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>景点图：</label>
					</div>
					<div class="field">
						<img alt="" id="allUrl" height="70" width="120"
							src="${scenic.scenic_tp }" /> <input type="file" name="pic"
							class="button bg-blue margin-left" value="${scenic.scenic_tp }" />

					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>地区：</label>
					</div>
					<div class="field">
						<select name="scenic_dq" class="input w50">
							 <option value="鼎城区" <c:if test="${scenic.scenic_dq=='鼎城区'}">selected="true"</c:if>>鼎城区</option>
              <option value="武陵区" <c:if test="${scenic.scenic_dq=='武陵区'}">selected="true"</c:if>>武陵区</option>
              <option value="安乡县" <c:if test="${scenic.scenic_dq=='安乡县'}">selected="true"</c:if>>安乡县</option>
              <option value="澧县" <c:if test="${scenic.scenic_dq=='澧县'}">selected="true"</c:if>>澧县</option>
              <option value="汉寿县" <c:if test="${scenic.scenic_dq=='汉寿县'}">selected="true"</c:if>>汉寿县</option>
              <option value="津市" <c:if test="${scenic.scenic_dq=='津市'}">selected="true"</c:if>>津市</option>
              <option value="桃源县" <c:if test="${scenic.scenic_dq=='桃源县'}">selected="true"</c:if>>桃源县</option>
              
              <option value="石门县" <c:if test="${scenic.scenic_dq=='石门县'}">selected="true"</c:if>>石门县</option>
              <option value="临澧县" <c:if test="${scenic.scenic_dq=='临澧县'}">selected="true"</c:if>>临澧县</option>
						</select>
						<div class="tips"></div>
					</div>
				</div>

				<div class="form-group">
					<div class="label">
						<label>描述：</label>
					</div>
					<div class="field">
						<textarea id="textarea1" style="height: 300px; max-height: 400px;"
							name="scenic_jj">
    <p>${scenic.scenic_jj }</p>
</textarea>
						<div class="tips"></div>
					</div>
				</div>


				<!--这里引用jquery和wangEditor.js-->
				<script type="text/javascript">
					// 获取元素
					var textarea = document.getElementById('textarea1');
					// 生成编辑器
					var editor = new wangEditor(textarea);
					editor.create();
				</script>
				<div class="form-group">
					<div class="label">
						<label></label>
					</div>
					<div class="field">
						<button class="button bg-main icon-check-square-o" type="submit">
							提交</button>
					</div>
				</div>
			</form>
		</div>
	</div>
</body>
</html>